package com.utils.common.exception;

import lombok.Data;

/**
 * @author: dongxing
 * @date ：Created in 2020/6/5
 * @description ：登录异常类
 * @version: 1.0
 */
@Data
public class LoginException extends RuntimeException {

    private Integer status;

    public LoginException() {
    }

    public LoginException(Integer status) {
        this.status = status;
    }

    public LoginException(Integer status,String message) {
        super(message);
        this.status = status;
    }

    public LoginException(Integer status,String message, Throwable cause) {
        super(message, cause);
        this.status = status;
    }
}
